package com.platform.api.bzproject.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 广告扣量配置表
 * </p>
 *
 * @author guoshao
 * @since 2022-02-23
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("t_bz_deduction")
public class BzDeduction extends Model {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 小程序appid
     */
    private String appid;

    /**
     * 起始扣量
     */
    private Integer startCount;
    /**
     * 截止扣量
     */
    private Integer endCount;

    /**
     * 扣量比例
     */
    private String ratioBase;

    /**
     * 状态
     */
    private Integer status;


}
